import Vue from 'vue'
import Vuex from 'vuex'
import init from './modules/init'
import createPersistedState from 'vuex-persistedstate'

Vue.use(Vuex)
const store = new Vuex.Store({
  modules: {
    init
  },
  plugins: [createPersistedState()]
})
export default store
